<?php

class Core_Model_DbTable_Product_Views extends Core_Model_DbTable_Product_Abstract
{
	const TABLE_NAME                = 'product_views';
	protected $_name				= self::TABLE_NAME;
    protected $_rowClass            = 'Core_Model_Product_View';
	
	public function insertProductInfo(Core_Model_Product $product)
	{
		$data = $this->_getParams($product);
		$data['time_viewed'] = time();
		return parent::insert($data);
	}
}